class FifthedSim::Compiler::TransformError
Attributes
message[R]
source_hash[R]
Public Class Methods
new(hash)
click to toggle source
# File lib/fifthed_sim/compiler.rb, line 36 def initialize(hash) @message = "Could not transform" if hash.is_a? Hash @source_hash = hash @line, @char = hash.values.keep_if{|x| x.is_a? Parslet::Slice} .first.line_and_column end end