Class: Logi::Command::List::Post

Inherits:
Struct
  • Object
show all
Defined in:
lib/logi/command/list.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

Returns the value of attribute link

Returns:

  • (Object)

    the current value of link



11
12
13
# File 'lib/logi/command/list.rb', line 11

def link
  @link
end

#titleObject

Returns the value of attribute title

Returns:

  • (Object)

    the current value of title



11
12
13
# File 'lib/logi/command/list.rb', line 11

def title
  @title
end

Instance Method Details

#<=>(that) ⇒ Object



12
13
14
# File 'lib/logi/command/list.rb', line 12

def <=> that
  link <=> that.link
end