Module: Jsql

Defined in:
lib/jsql.rb,
lib/jsql/engine.rb,
lib/jsql/version.rb,
lib/jsql/configuration.rb,
app/jobs/jsql/application_job.rb,
app/models/jsql/application_record.rb,
app/helpers/jsql/application_helper.rb,
app/mailers/jsql/application_mailer.rb,
app/controllers/jsql/delete_controller.rb,
app/controllers/jsql/insert_controller.rb,
app/controllers/jsql/select_controller.rb,
app/controllers/jsql/update_controller.rb,
app/controllers/jsql/execute_controller.rb,
app/controllers/jsql/application_controller.rb

Defined Under Namespace

Modules: ApplicationHelper Classes: ApplicationController, ApplicationJob, ApplicationMailer, ApplicationRecord, Configuration, DeleteController, Engine, ExecuteController, InsertController, SelectController, UpdateController

Constant Summary collapse

VERSION =
'0.1.7'

Class Attribute Summary collapse

Class Method Summary collapse

Class Attribute Details

.configurationObject

Returns the value of attribute configuration.



6
7
8
# File 'lib/jsql.rb', line 6

def configuration
  @configuration
end

Class Method Details

.configure {|configuration| ... } ⇒ Object

Yields:



17
18
19
# File 'lib/jsql.rb', line 17

def self.configure
  yield(configuration)
end

.resetObject



13
14
15
# File 'lib/jsql.rb', line 13

def self.reset
  @configuration = Configuration.new
end