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



23
24
25
# File 'lib/everywhere/dock/state.rb', line 23

def detail
  @detail
end

#keyObject

Returns the value of attribute key

Returns:

  • (Object)

    the current value of key



23
24
25
# File 'lib/everywhere/dock/state.rb', line 23

def key
  @key
end

#labelObject

Returns the value of attribute label

Returns:

  • (Object)

    the current value of label



23
24
25
# File 'lib/everywhere/dock/state.rb', line 23

def label
  @label
end

#sinceObject

Returns the value of attribute since

Returns:

  • (Object)

    the current value of since



23
24
25
# File 'lib/everywhere/dock/state.rb', line 23

def since
  @since
end

#stateObject

Returns the value of attribute state

Returns:

  • (Object)

    the current value of state



23
24
25
# File 'lib/everywhere/dock/state.rb', line 23

def state
  @state
end

Instance Method Details

#busy?Boolean

Returns:

  • (Boolean)


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

def busy? = BUSY.include?(state)