Class: Ward::Support::BasicObject

Inherits:
Object
  • Object
show all
Defined in:
lib/ward/support/basic_object.rb

Overview

Used by the DSL classes. Provides a BasicObject implementation for Ruby versions older than 1.9.

From Sequel, with modifications to support RSpec.

Direct Known Subclasses

DSL::ValidationBlock, DSL::ValidationBuilder

Class Method Summary collapse

Class Method Details

.const_missing(name) ⇒ Object

Lookup missing constants in ::Object



11
12
13
# File 'lib/ward/support/basic_object.rb', line 11

def self.const_missing(name)
  ::Object.const_get(name)
end