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.
15 16 17 |
# File 'lib/cheatset/dsl/base.rb', line 15 def initialize(&block) instance_eval(&block) end |