class Thinreports::Core::Shape::Basic::Internal

Public Instance Methods

identifier() click to toggle source
# File lib/thinreports/core/shape/basic/internal.rb, line 19
def identifier
  "#{id}#{style.identifier}"
end
style() click to toggle source
# File lib/thinreports/core/shape/basic/internal.rb, line 11
def style
  @style ||= Style::Graphic.new(format)
end
type_of?(type_name) click to toggle source
# File lib/thinreports/core/shape/basic/internal.rb, line 15
def type_of?(type_name)
  [:basic, type].include?(type_name)
end