Class: Fusuma::Plugin::Events::Records::AppmatcherRecord

Inherits:
Record
  • Object
show all
Defined in:
lib/fusuma/plugin/events/records/appmatcher_record.rb

Overview

Record for Keypress event

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(name:) ⇒ AppmatcherRecord

Returns a new instance of AppmatcherRecord.

Parameters:

  • status (String)


12
13
14
15
# File 'lib/fusuma/plugin/events/records/appmatcher_record.rb', line 12

def initialize(name:)
  super()
  @name = name
end

Instance Attribute Details

#nameObject (readonly)

Returns the value of attribute name.



9
10
11
# File 'lib/fusuma/plugin/events/records/appmatcher_record.rb', line 9

def name
  @name
end

Instance Method Details

#to_sObject



17
18
19
# File 'lib/fusuma/plugin/events/records/appmatcher_record.rb', line 17

def to_s
  @name
end