Class: Resources::PropertyDefinition

Inherits:
Base
  • Object
show all
Defined in:
lib/minglr/resources/property_definition.rb

Class Method Summary collapse

Methods inherited from Base

configure, print_collection, warn

Class Method Details

.project_optionsObject



5
6
7
8
# File 'lib/minglr/resources/property_definition.rb', line 5

def self.project_options
  properties = find(:all)
  properties.collect { |property| [property.column_name.to_sym, property.name] }
end