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



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

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

#get_bindingObject



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

def get_binding
  binding
end