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
========== test.rb ========== | |
module MixinModule | |
def say_hello | |
puts "Hello #{CLASS_CONSTANT}" | |
end | |
end | |
class SomeClass | |
CLASS_CONSTANT = 'FOO!' | |
include MixinModule |
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
Shoes.app do | |
download 'http://127.0.0.1:3000', {:headers => {'test' => 'me'}} do |d| | |
end | |
end | |
NewerOlder