Method: Upmin::Model#actions
- Defined in:
- lib/upmin/model.rb
#actions ⇒ Object
62 63 64 65 66 67 68 69 |
# File 'lib/upmin/model.rb', line 62 def actions return @actions if defined?(@actions) @actions = [] self.class.actions.each do |action_name| @actions << Upmin::Action.new(self, action_name) end return @actions end |