class PuppetGenerator::Models::Action

model for import action

Public Class Methods

new( name , action ) click to toggle source

create new instance of action model

Calls superclass method
# File lib/puppet_generator/models/action.rb, line 17
def initialize( name , action )
  super(name)

  @action = action
end

Private Class Methods

check_method() click to toggle source
# File lib/puppet_generator/models/action.rb, line 26
def check_method
  :run
end
path() click to toggle source
# File lib/puppet_generator/models/action.rb, line 30
def path
  __FILE__
end