Sha256: c603c7c7a384bee1ab083a5b811a9436229c43e2d6986140617c03e6ea92eef4

Contents?: true

Size: 179 Bytes

Versions: 86

Compression:

Stored size: 179 Bytes

Contents

module Sequel
  module Metaprogramming
    # Defines an class method within a class
    def inst_def name, &blk
      instance_eval { define_method name, &blk }
    end
  end
end

Version data entries

86 entries across 86 versions & 1 rubygems

Version Path
fossil-0.4.26 lib/sequel/metaprogramming.rb
fossil-0.4.25 lib/sequel/metaprogramming.rb
fossil-0.4.24 lib/sequel/metaprogramming.rb
fossil-0.4.23 lib/sequel/metaprogramming.rb
fossil-0.4.22 lib/sequel/metaprogramming.rb
fossil-0.4.20 lib/sequel/metaprogramming.rb
fossil-0.4.19 lib/sequel/metaprogramming.rb
fossil-0.4.18 lib/sequel/metaprogramming.rb
fossil-0.4.17 lib/sequel/metaprogramming.rb
fossil-0.4.16 lib/sequel/metaprogramming.rb
fossil-0.4.15 lib/sequel/metaprogramming.rb
fossil-0.4.14 lib/sequel/metaprogramming.rb
fossil-0.4.13 lib/sequel/metaprogramming.rb
fossil-0.4.12 lib/sequel/metaprogramming.rb
fossil-0.4.10 lib/sequel/metaprogramming.rb
fossil-0.4.9 lib/sequel/metaprogramming.rb
fossil-0.4.8 lib/sequel/metaprogramming.rb
fossil-0.4.7 lib/sequel/metaprogramming.rb
fossil-0.4.6 lib/sequel/metaprogramming.rb
fossil-0.4.5 lib/sequel/metaprogramming.rb