Module: INat::App::Task::DSL

Includes:
INat, Logger::DSL, Report
Included in:
Context
Defined in:
lib/inat/app/task/dsl.rb

Class Method Summary collapse

Instance Method Summary collapse

Methods included from Logger::DSL

#debug, debug, echo, #echo, error, #error, #info, info, log, #log, #warning, warning

Class Method Details

.select(**params) ⇒ Object



19
20
21
22
# File 'lib/inat/app/task/dsl.rb', line 19

def select **params
  query = Query::new(**params)
  DataSet::new nil, query.observations
end

Instance Method Details

#select(**params) ⇒ Object (private)



19
20
21
22
# File 'lib/inat/app/task/dsl.rb', line 19

def select **params
  query = Query::new(**params)
  DataSet::new nil, query.observations
end