Exception: IgniterLang::TemporalAccessRuntime::BackendContractError

Inherits:
StandardError
  • Object
show all
Defined in:
lib/igniter_lang/temporal_access_runtime.rb

Instance Attribute Summary collapse

Instance Method Summary collapse

Constructor Details

#initialize(method_name, axis) ⇒ BackendContractError

Returns a new instance of BackendContractError.



112
113
114
115
116
# File 'lib/igniter_lang/temporal_access_runtime.rb', line 112

def initialize(method_name, axis)
  @method_name = method_name
  @axis = axis
  super("temporal access backend must implement #{method_name} for #{axis}")
end

Instance Attribute Details

#axisObject (readonly)

Returns the value of attribute axis.



110
111
112
# File 'lib/igniter_lang/temporal_access_runtime.rb', line 110

def axis
  @axis
end

#method_nameObject (readonly)

Returns the value of attribute method_name.



110
111
112
# File 'lib/igniter_lang/temporal_access_runtime.rb', line 110

def method_name
  @method_name
end