Class: Cheatset::DSL::Base
- Inherits:
-
Object
- Object
- Cheatset::DSL::Base
- Defined in:
- lib/cheatset/dsl/base.rb
Direct Known Subclasses
Instance Method Summary collapse
-
#initialize(&block) ⇒ Base
constructor
A new instance of Base.
Constructor Details
#initialize(&block) ⇒ Base
Returns a new instance of Base.
14 15 16 |
# File 'lib/cheatset/dsl/base.rb', line 14 def initialize(&block) instance_eval(&block) end |