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



52
53
54
# File 'lib/Miyako/API/layout.rb', line 52

def base
  @base
end

#on_moveObject

Returns the value of attribute on_move

Returns:

  • (Object)

    the current value of on_move



52
53
54
# File 'lib/Miyako/API/layout.rb', line 52

def on_move
  @on_move
end

#posObject

Returns the value of attribute pos

Returns:

  • (Object)

    the current value of pos



52
53
54
# File 'lib/Miyako/API/layout.rb', line 52

def pos
  @pos
end

#sizeObject

Returns the value of attribute size

Returns:

  • (Object)

    the current value of size



52
53
54
# File 'lib/Miyako/API/layout.rb', line 52

def size
  @size
end

#snapObject

Returns the value of attribute snap

Returns:

  • (Object)

    the current value of snap



52
53
54
# File 'lib/Miyako/API/layout.rb', line 52

def snap
  @snap
end