Class: Lurker::ErbSchemaContext

Inherits:
Object
  • Object
show all
Defined in:
lib/lurker/erb_schema_context.rb

Instance Method Summary collapse

Instance Method Details

#allowed(*names) ⇒ Object



3
4
5
# File 'lib/lurker/erb_schema_context.rb', line 3

def allowed(*names)
  "Allowed values: #{names.join(', ')}"
end

#get_bindingObject



7
8
9
# File 'lib/lurker/erb_schema_context.rb', line 7

def get_binding
  binding
end