Sha256: 7ed116f1ae42449b1be071af5173762b63ddf714bf016582c497d685fd8fe0aa
Contents?: true
Size: 420 Bytes
Versions: 2
Compression:
Stored size: 420 Bytes
Contents
# coding: utf-8 module Thinreports module Core::Shape class Basic::Internal < Base::Internal # Delegate to Format's methods format_delegators :id, :type def style @style ||= Style::Graphic.new(format) end def type_of?(type_name) [:basic, self.type].include?(type_name) end def identifier "#{id}#{style.identifier}" end end end end
Version data entries
2 entries across 2 versions & 1 rubygems
Version | Path |
---|---|
thinreports-0.9.1 | lib/thinreports/core/shape/basic/internal.rb |
thinreports-0.9.0 | lib/thinreports/core/shape/basic/internal.rb |