CODES
NEW
ADD
SaveCode.net
Ranking
Extension
mixing in a module immediately after an objects singleton class
Home
/
Codes
/
ruby
2
Mixing in a Module immediately after an objects Singleton class
Copy
ruby
module
class
Favourite
Share
By
Dominick Connelly
at May 26 2022
Related code examples
Singleton Pattern MacRuby
Blank slate objects in Ruby
Module: Benchmark
creating a class in ruby
class ruby
Simple mocking of Ruby objects
decimal method for float objects
Bind the parent's method to the child objects
class inheriting multiple modules in ruby
Two ways of extending a class by class methods
devise redirectt after sign up
ruby class variable
rails link_to class
friendly class design
Ruby Metaprogramming - Subclassable Callback Module
ruby new class params
Ruby: Directory Class Methods
Ruby class + method documentation
rails class note reminders
rails class sti reminders
ruby call class constant
rails rspec destroy data after each test
ruby list all class methods
rails class reminders belongs_to creator
how to inherit active record to a class ruby
RoR Helper - Menu Item with Current Class
Add class methods for ruby classes
Ruby Metaprogramming - Subclass a Method with Before/After Callbacks and alias_method
Ruby: Reading from Files + File Class Methods
Configure some behaviour through a separete configuration class
Defining the instance and class methods using define_method
A monkey-patch to activerecord to reconnect after it loses the connection to the mysql server
Ruby: Extend String Class to Capitalize Every Single Word
Ruby class for easy version number natural order sorting
Ruby class and instance variables lifecycle across inheritance demo
how to match email in regex in ruby
copy to clipboard in ruby in windows
Finding strings in Files in Ruby
CreateShippingAddresses in ruby
print in ruby
button in rails
comment in ruby
.tr in ruby
find in rails
how to comment in ruby
flash in rails
functions in ruby
variables in ruby
ruby in array
reduce in ruby
deliver_later not sending mail in sidekiq in rails
Property Access in Ruby
LDAP access in Ruby
fetch site in ruby
Write a file in Ruby
String replace in ruby
how to delete database in rails
how to delete a table in rails
append array in ruby
how to decrypt credentials in rails
how to rename a table in ruby
hello world in ruby
ruby find in array
how to generate a controller in rails
meaning of {} in ruby
string concatenation in Ruby
time method in Ruby
root route in rails
including libraries in ruby
ruby not in hash
is identation madatory in ruby
update a database in ruby
%w meaning in ruby
infinite loop in ruby
what is exclamation mark in ruby
Add Elements In an Array
File copy in ruby
Search Methods in irb
Display image in Link_to
Validate URL in model
how to write an array in ruby
Capture Screenshots in Ruby
Image Uploading in Ruby
Create a Todo in Things
Rails in groups of
Clojure STM in JRuby
height of a tree in ruby
ruby date difference in days
read xls file in ruby
remove nil in array ruby
partial a _preview in posts index.html.erb
Follow your followers in Ruby
Ruby Outlook automation in cygwin
replace fields in a string with data
Render nothing in Ruby on Rails
how to down a particular migration in rails
specify ruby version in gemfile
get current year in ruby
ruby reorder keys in hash
upcase first letters in ruby
Code examples by languages
javascript
29k
python
23k
shell
16k
php
14k
java
8k
html
7k
sql
7k
css
7k
c#
4k
typescript
3k
c++
3k
c
3k
bash
2k
swift
909
go
903
vba
890
dart
866
r
746
ruby
681
latex
477
kotlin
440
lua
395
matlab
270
rust
213
groovy
183
assembly
174
basic
151
markdown
102
delphi
76
scala
70
haskell
64
ascii
62
actionscript
56
perl
54
twig
53
elixir
52
julia
46
d
37
octave
34
velocity
34
f#
29
clojure
23
pascal
23
less
23
prolog
19
diff
18
vhdl
18
objective-c
16
fortran
16
scheme
16
abap
16
brainfuck
15
tcl
14
sieve
12
factor
11
lisp
10
jinja2
10
haxe
9
oz
9
pug
9
spreadsheet
9
smarty
9
crystal
7
verilog
7
cobol
6
ocaml
6
protobuf
6
q
6
turtle
6
gas
5
rpm
5
erlang
4
jsx
4
forth
3
handlebars
3
eiffel
2
elm
2
gherkin
2
scss
2
slim
2
textile
2
postscript
1
coffeescript
1
cython
1
dtd
1
ebnf
1
haml
1
idl
1
mathematica
1
nsis
1
puppet
1
soy
1
squirrel
1
toml
1
systemverilog
1