Sha256: 92eb1ac8bb84cbaa99e369016debab6e9fa6b30cfe7d981855ee3cf93e1f0c12

Contents?: true

Size: 240 Bytes

Versions: 9

Compression:

Stored size: 240 Bytes

Contents

# @author Paul McKibbin based on meta definitions by _why_the_lucky_stiff_
module Meta
  def meta_self
    class << self
      self
    end
  end

  def meta_def name, &blk
    meta_self.instance_eval { define_method name, &blk }
  end
end

Version data entries

9 entries across 9 versions & 2 rubygems

Version Path
config_files-0.1.7 lib/meta.rb
config_files-0.1.6 lib/meta.rb
config_files-0.1.5 lib/meta.rb
config_files-0.1.3 lib/meta.rb
config_files-0.1.2 lib/meta.rb
config_files-0.1.1 lib/meta.rb
config_files-0.1.0 lib/meta.rb
config_files-0.0.4 lib/meta.rb
blackrat_yaml_config-0.0.3 lib/meta.rb