Class: Opsk::Bump
- Inherits:
-
Thor::Group
- Object
- Thor::Group
- Opsk::Bump
- Includes:
- Thorable, Thor::Actions
- Defined in:
- lib/opskeleton/bump.rb
Instance Method Summary collapse
Methods included from Thorable
Instance Method Details
#bump ⇒ Object
11 12 13 14 15 |
# File 'lib/opskeleton/bump.rb', line 11 def bump = .version = version File.open('opsk.yml', 'w') {|f| f.write(.marshal_dump.to_yaml)} end |
#meta ⇒ Object
7 8 9 |
# File 'lib/opskeleton/bump.rb', line 7 def OpenStruct.new(YAML.load_file('opsk.yml')) end |