Class: Everywhere::Dock::State::Target

Inherits:
Struct
  • Object
show all
Defined in:
lib/everywhere/dock/state.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#detailObject

Returns the value of attribute detail

Returns:

  • (Object)

    the current value of detail



21
22
23
# File 'lib/everywhere/dock/state.rb', line 21

def detail
  @detail
end

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



21
22
23
# File 'lib/everywhere/dock/state.rb', line 21

def key
  @key
end

#labelObject

Returns the value of attribute label

Returns:

  • (Object)

    the current value of label



21
22
23
# File 'lib/everywhere/dock/state.rb', line 21

def label
  @label
end

#sinceObject

Returns the value of attribute since

Returns:

  • (Object)

    the current value of since



21
22
23
# File 'lib/everywhere/dock/state.rb', line 21

def since
  @since
end

#stateObject

Returns the value of attribute state

Returns:

  • (Object)

    the current value of state



21
22
23
# File 'lib/everywhere/dock/state.rb', line 21

def state
  @state
end

Instance Method Details

#busy?Boolean

Returns:

  • (Boolean)


22
# File 'lib/everywhere/dock/state.rb', line 22

def busy? = BUSY.include?(state)