Class: Dasheets::DSL::Base

Inherits:
Object
  • Object
show all
Defined in:
lib/dasheets/dsl/base.rb

Direct Known Subclasses

Category, Cheatsheet, Entry

Instance Method Summary collapse

Constructor Details

#initialize(&block) ⇒ Base

Returns a new instance of Base.



7
8
9
# File 'lib/dasheets/dsl/base.rb', line 7

def initialize(&block)
  instance_eval(&block)
end