Class: P::Command
- Inherits:
-
Thor
- Object
- Thor
- P::Command
- Defined in:
- lib/p/command.rb
Instance Method Summary collapse
Instance Method Details
#new(name) ⇒ Object
13 14 15 16 |
# File 'lib/p/command.rb', line 13 def new(name) t = P::Template.new([:template], name) P::Builder.run!(t) end |
#version ⇒ Object
19 20 21 |
# File 'lib/p/command.rb', line 19 def version puts P::VERSION end |