Class: UniProp::Block

Inherits:
Struct
  • Object
show all
Defined in:
lib/uniprop/consts.rb

Overview

Note:

主にメタデータの利用時に使用。メタデータを解析した結果、適したオブジェクトで管理

メタデータに記述された1つのブロックを管理するためのStruct

Instance Attribute Summary collapse

Instance Attribute Details

#contentObject

Returns the value of attribute content

Returns:

  • (Object)

    the current value of content



30
31
32
# File 'lib/uniprop/consts.rb', line 30

def content
  @content
end

#rangeObject

Returns the value of attribute range

Returns:

  • (Object)

    the current value of range



30
31
32
# File 'lib/uniprop/consts.rb', line 30

def range
  @range
end