Class: Trailblazer::Generator::Builder::Contract::Cell

Inherits:
Cell
  • Object
show all
Defined in:
lib/trailblazer/generator/builder/contract.rb

Instance Method Summary collapse

Methods inherited from Cell

#action_class, controller_path, #show, #underscore_name

Methods included from Cell::ClassMethods

#build_model

Instance Method Details

#propertiesObject



3
4
5
6
# File 'lib/trailblazer/generator/builder/contract.rb', line 3

def properties
  return [] unless options.key?("properties")
  options["properties"]
end