class Mv::Core::Constraint::Trigger
Attributes
event[R]
Public Class Methods
new(description)
click to toggle source
Calls superclass method
Mv::Core::Constraint::Base::new
# File lib/mv/core/constraint/trigger.rb, line 9 def initialize description super @event = @description.options[:event].try(:to_sym) end
Public Instance Methods
update?()
click to toggle source
# File lib/mv/core/constraint/trigger.rb, line 14 def update? event == :update end