Class: Logi::Post

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

Instance Attribute Summary collapse

Instance Method Summary collapse

Instance Attribute Details

#blockObject

Returns the value of attribute block

Returns:

  • (Object)

    the current value of block



3
4
5
# File 'lib/logi/post.rb', line 3

def block
  @block
end

#commandObject

Returns the value of attribute command

Returns:

  • (Object)

    the current value of command



3
4
5
# File 'lib/logi/post.rb', line 3

def command
  @command
end

#optionsObject

Returns the value of attribute options

Returns:

  • (Object)

    the current value of options



3
4
5
# File 'lib/logi/post.rb', line 3

def options
  @options
end

#pathObject

Returns the value of attribute path

Returns:

  • (Object)

    the current value of path



3
4
5
# File 'lib/logi/post.rb', line 3

def path
  @path
end

Instance Method Details

#<=>(that) ⇒ Object



4
5
6
# File 'lib/logi/post.rb', line 4

def <=> that
  path <=> that.path
end