Class: Muve::Traveller

Inherits:
Object
  • Object
show all
Includes:
Model
Defined in:
lib/muve/traveller.rb

Instance Method Summary collapse

Methods included from Model

#==, #attributes, #attributes=, connection, #connection, connection=, #database, database, database=, #destroy, #destroyed?, handler, #id, included, init, #initialize, #invalid?, #new_record?, #persisted?, #reload, #save, #save!, #to_hash, #to_param

Methods included from Helper

symbolize_keys

Instance Method Details

#valid?Boolean

Returns:

  • (Boolean)


7
8
9
# File 'lib/muve/traveller.rb', line 7

def valid?
  !name.nil? && !name.empty?
end