Class: Evesync::IPC::Data::Ignore
- Inherits:
-
Object
- Object
- Evesync::IPC::Data::Ignore
- Extended by:
- Unhashable
- Includes:
- Hashable
- Defined in:
- lib/evesync/ipc/data/ignore.rb
Instance Attribute Summary collapse
-
#subject ⇒ Object
readonly
Returns the value of attribute subject.
Instance Method Summary collapse
-
#initialize(params) ⇒ Ignore
constructor
A new instance of Ignore.
- #to_s ⇒ Object
Methods included from Unhashable
Methods included from Hashable
Constructor Details
#initialize(params) ⇒ Ignore
Returns a new instance of Ignore.
12 13 14 |
# File 'lib/evesync/ipc/data/ignore.rb', line 12 def initialize(params) @subject = params[:subject] end |
Instance Attribute Details
#subject ⇒ Object (readonly)
Returns the value of attribute subject.
10 11 12 |
# File 'lib/evesync/ipc/data/ignore.rb', line 10 def subject @subject end |
Instance Method Details
#to_s ⇒ Object
16 17 18 |
# File 'lib/evesync/ipc/data/ignore.rb', line 16 def to_s "Ignoring: #{@subject}" end |