Class: KDL::Types::IRL

Inherits:
IRLReference show all
Defined in:
lib/kdl/types/irl.rb,
lib/kdl/types/irl/parser.rb

Defined Under Namespace

Classes: Parser

Constant Summary

Constants inherited from Value

Value::Null

Instance Attribute Summary

Attributes inherited from IRLReference

#unicode_domain, #unicode_hash, #unicode_path, #unicode_search, #unicode_value

Attributes inherited from Value::Custom

#oriinal_value

Attributes inherited from Value

#format, #type, #value

Class Method Summary collapse

Methods inherited from IRLReference

#initialize

Methods inherited from Value::Custom

#to_v1, #to_v2, #version

Methods inherited from Value

#==, #as_type, from, #initialize, #inspect, #method_missing, #respond_to_missing?, #stringify_value, #to_s, #to_v2, #version

Constructor Details

This class inherits a constructor from KDL::Types::IRLReference

Dynamic Method Handling

This class handles dynamic methods through the method_missing method in the class KDL::Value

Class Method Details

.call(value, type = 'irl') ⇒ Object



38
39
40
# File 'lib/kdl/types/irl.rb', line 38

def self.call(value, type = 'irl')
  super(value, type)
end

.parser(string) ⇒ Object



42
43
44
# File 'lib/kdl/types/irl.rb', line 42

def self.parser(string)
  IRL::Parser.new(string)
end