Class: Fusuma::Plugin::Appmatcher::GnomeExtension::Application
- Inherits:
-
Object
- Object
- Fusuma::Plugin::Appmatcher::GnomeExtension::Application
- Defined in:
- lib/fusuma/plugin/appmatcher/gnome_extension.rb
Overview
Focused Application
Instance Attribute Summary collapse
-
#focus ⇒ Object
readonly
Returns the value of attribute focus.
-
#id ⇒ Object
readonly
Returns the value of attribute id.
-
#pid ⇒ Object
readonly
Returns the value of attribute pid.
-
#title ⇒ Object
readonly
Returns the value of attribute title.
-
#wm_class ⇒ Object
readonly
Returns the value of attribute wm_class.
Instance Method Summary collapse
-
#[]=(key, value) ⇒ Object
to specify as object_class in JSON.parse.
- #inspect ⇒ Object
Instance Attribute Details
#focus ⇒ Object (readonly)
Returns the value of attribute focus.
115 116 117 |
# File 'lib/fusuma/plugin/appmatcher/gnome_extension.rb', line 115 def focus @focus end |
#id ⇒ Object (readonly)
Returns the value of attribute id.
115 116 117 |
# File 'lib/fusuma/plugin/appmatcher/gnome_extension.rb', line 115 def id @id end |
#pid ⇒ Object (readonly)
Returns the value of attribute pid.
115 116 117 |
# File 'lib/fusuma/plugin/appmatcher/gnome_extension.rb', line 115 def pid @pid end |
#title ⇒ Object (readonly)
Returns the value of attribute title.
115 116 117 |
# File 'lib/fusuma/plugin/appmatcher/gnome_extension.rb', line 115 def title @title end |
#wm_class ⇒ Object (readonly)
Returns the value of attribute wm_class.
115 116 117 |
# File 'lib/fusuma/plugin/appmatcher/gnome_extension.rb', line 115 def wm_class @wm_class end |
Instance Method Details
#[]=(key, value) ⇒ Object
to specify as object_class in JSON.parse
118 119 120 |
# File 'lib/fusuma/plugin/appmatcher/gnome_extension.rb', line 118 def []=(key, value) instance_variable_set("@#{key}", value) end |
#inspect ⇒ Object
122 123 124 |
# File 'lib/fusuma/plugin/appmatcher/gnome_extension.rb', line 122 def inspect "wm_class: #{wm_class}, pid: #{pid}, id: #{id}, title: #{title}, focus: #{focus}" end |