Sha256: c74d18b791c4615f79315aa369d941ccdf91ba6fec79618cf10b24777f28a24f

Contents?: true

Size: 154 Bytes

Versions: 29

Compression:

Stored size: 154 Bytes

Contents

module Hihi
  class << self
    module_eval %{
      def hello
        puts "win"
      end
    }
  end
end

Hihi.hello

Hihi.module_eval %{
 puts @foo
}

Version data entries

29 entries across 29 versions & 1 rubygems

Version Path
fasterer-0.2.0 spec/support/analyzer/03_module_eval.rb
fasterer-0.1.12 spec/support/analyzer/03_module_eval.rb
fasterer-0.1.11 spec/support/analyzer/03_module_eval.rb
fasterer-0.1.10 spec/support/analyzer/03_module_eval.rb
fasterer-0.1.9 spec/support/analyzer/03_module_eval.rb
fasterer-0.1.8 spec/support/analyzer/03_module_eval.rb
fasterer-0.1.7 spec/support/analyzer/03_module_eval.rb
fasterer-0.1.6 spec/support/analyzer/03_module_eval.rb
fasterer-0.1.5 spec/support/analyzer/03_module_eval.rb