Class: Gem::Release::Files::Template::Context

Inherits:
OpenStruct
  • Object
show all
Defined in:
lib/gem/release/files/template/context.rb

Defined Under Namespace

Classes: Const

Instance Method Summary collapse

Instance Method Details

#define(type, &block) ⇒ Object



23
24
25
# File 'lib/gem/release/files/template/context.rb', line 23

def define(type, &block)
  Const.new(type, module_names).define(&block)
end