class Zenithal::ZoticaSingleParser
Attributes
exact[RW]
fonts[RW]
Public Class Methods
new(source)
click to toggle source
Calls superclass method
# File source/zotica/parser.rb, line 440 def initialize(source) super(source) @exact = false @fonts = {} @attributes = nil @block = nil end
Public Instance Methods
load_font(path)
click to toggle source
# File source/zotica/parser.rb, line 453 def load_font(path) if path @fonts[:main] = JSON.parse(File.read(path)) end end
setup(attributes, block)
click to toggle source
# File source/zotica/parser.rb, line 448 def setup(attributes, block) @attributes = attributes @block = block end