This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
puts "Hello World" |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
module Kernel | |
def say_hello | |
puts "hello world" | |
end | |
end | |
Object.new.say_hello # => hello world | |
Object.say_hello # => hello world - Shouldn't be possible! |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
class Module | |
# `hello` should be readily available within all regular classes | |
def hello | |
puts 'Hello World' | |
end | |
end | |
# `special` should be available within all regular singleton classes | |
class Module | |
class << self |
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
.panel.panel-primary.ef-question-panel > .panel-body > h4.text-muted{ | |
background: #AFD2C2; | |
padding: 15px 15px 5px 15px; | |
color: #000000; | |
} |