Class: KmEverything::KmEvent

Inherits:
Struct
  • Object
show all
Defined in:
lib/km_everything.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#action_nameObject

Returns the value of attribute action_name

Returns:

  • (Object)

    the current value of action_name



8
9
10
# File 'lib/km_everything.rb', line 8

def action_name
  @action_name
end

#controller_nameObject

Returns the value of attribute controller_name

Returns:

  • (Object)

    the current value of controller_name



8
9
10
# File 'lib/km_everything.rb', line 8

def controller_name
  @controller_name
end

Instance Method Details

#eventObject



9
10
11
12
13
# File 'lib/km_everything.rb', line 9

def event
  unless event_excluded?
    specified_event || unspecified_event
  end
end