Class: StoryReader
Instance Method Summary collapse
-
#initialize(name, &block) ⇒ StoryReader
constructor
A new instance of StoryReader.
Methods inherited from SimpleDSL
custom, fields, groups, values
Constructor Details
#initialize(name, &block) ⇒ StoryReader
Returns a new instance of StoryReader.
2 3 4 5 |
# File 'lib/clitasks/story_reader.rb', line 2 def initialize(name, &block) @name = name instance_eval &block end |