Sha256: b0005786ba071145a5370675eb5eb8298ba40b815810fb78174cc779e2b0c734
Contents?: true
Size: 163 Bytes
Versions: 2
Compression:
Stored size: 163 Bytes
Contents
module Tongo class Context < BasicObject def self.tag(name, &block) define_method name do |*args| block.call(*args) end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
tongo-0.0.2 | lib/tongo/context.rb |
tongo-0.0.1 | lib/tongo/context.rb |