class CSL::Style::Text
Attributes
Public Instance Methods
Source
# File lib/csl/style/text.rb, line 10 def has_variable? attribute?(:variable) end
Source
# File lib/csl/style/text.rb, line 27 def macro raise "failed to resolve macro #{attributes[:macro].inspect}" unless !root? && root.respond_to?(:macros) root.macros[attributes[:macro]] end
@return [Macro, nil]
Source
# File lib/csl/style/text.rb, line 18 def variable_options attributes_for :form end