Module: Sunrise::Models::Structure::InstanceMethods

Defined in:
lib/sunrise/models/structure.rb

Instance Method Summary collapse

Instance Method Details

#moveable?Boolean

Returns:

  • (Boolean)


45
46
47
48
# File 'lib/sunrise/models/structure.rb', line 45

def moveable?
  return true if new_record?
  !root?
end