Class: Miyako::LayoutStruct

Inherits:
Struct
  • Object
show all
Defined in:
lib/Miyako/API/layout.rb

Overview

レイアウト情報を示す構造体

Instance Attribute Summary collapse

Instance Attribute Details

#baseObject

Returns the value of attribute base

Returns:

  • (Object)

    the current value of base


55
56
57
# File 'lib/Miyako/API/layout.rb', line 55

def base
  @base
end

#on_moveObject

Returns the value of attribute on_move

Returns:

  • (Object)

    the current value of on_move


55
56
57
# File 'lib/Miyako/API/layout.rb', line 55

def on_move
  @on_move
end

#posObject

Returns the value of attribute pos

Returns:

  • (Object)

    the current value of pos


55
56
57
# File 'lib/Miyako/API/layout.rb', line 55

def pos
  @pos
end

#sizeObject

Returns the value of attribute size

Returns:

  • (Object)

    the current value of size


55
56
57
# File 'lib/Miyako/API/layout.rb', line 55

def size
  @size
end

#snapObject

Returns the value of attribute snap

Returns:

  • (Object)

    the current value of snap


55
56
57
# File 'lib/Miyako/API/layout.rb', line 55

def snap
  @snap
end