Class: Sbuilder::Example
- Inherits:
-
Thor
- Object
- Thor
- Sbuilder::Example
- Defined in:
- lib/cli/cli-example.rb
Instance Method Summary collapse
- #customer ⇒ Object
-
#initialize(*args) ⇒ Example
constructor
A new instance of Example.
- #pet ⇒ Object
Constructor Details
#initialize(*args) ⇒ Example
Returns a new instance of Example.
8 9 10 |
# File 'lib/cli/cli-example.rb', line 8 def initialize(*args) super end |
Instance Method Details
#customer ⇒ Object
#pet ⇒ Object
19 20 21 22 23 24 |
# File 'lib/cli/cli-example.rb', line 19 def pet dir = [:cnf_dir] CliPet.write_files( dir, self ) # sbuilder - example sources write_example_dir end |