module Ryb::DomainSpecificLanguage

Constants

FOR

Public Class Methods

for(obj) click to toggle source
# File lib/ryb/dsl.rb, line 282
def self.for(obj)
  # TODO(mtwilliams): Use `__poured__` rather than manually building?
  # poured = spec.class_variable_get(:@@__poured__)

  # Hide behind a SimpleDelegator so users don't play with our internals.
  SimpleDelegator.new(FOR[obj.class].new(obj))
end