Class: FifthedSim::StatBlock
- Inherits:
-
Object
- Object
- FifthedSim::StatBlock
- Defined in:
- lib/fifthed_sim/stat_block.rb
Defined Under Namespace
Classes: DefinitionProxy
Class Method Summary collapse
Instance Method Summary collapse
-
#initialize(hash) ⇒ StatBlock
constructor
A new instance of StatBlock.
Constructor Details
Class Method Details
.define(&block) ⇒ Object
36 37 38 39 |
# File 'lib/fifthed_sim/stat_block.rb', line 36 def self.define(&block) h = DefinitionProxy.new(&block) self.new(h.hash) end |