class Thinreports::Core::Shape::Basic::BlockInternal

Public Instance Methods

read_value() click to toggle source
# File lib/thinreports/core/shape/basic/block_internal.rb, line 14
def read_value
  states.key?(:value) ? states[:value] : format.value.dup
end
Also aliased as: value
real_value() click to toggle source
# File lib/thinreports/core/shape/basic/block_internal.rb, line 23
def real_value
  read_value
end
style() click to toggle source
# File lib/thinreports/core/shape/basic/block_internal.rb, line 10
def style
  @style ||= Style::Basic.new(format)
end
type_of?(type_name) click to toggle source
# File lib/thinreports/core/shape/basic/block_internal.rb, line 27
def type_of?(type_name)
  type_name == :block
end
value()
Alias for: read_value
write_value(val) click to toggle source
# File lib/thinreports/core/shape/basic/block_internal.rb, line 19
def write_value(val)
  states[:value] = val
end