Module: LucidApp::API

Defined in:
lib/lucid_app/api.rb

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.included(base) ⇒ Object



3
4
5
6
7
# File 'lib/lucid_app/api.rb', line 3

def self.included(base)
  def context
    @native.JS[:context]
  end
end

Instance Method Details

#contextObject



4
5
6
# File 'lib/lucid_app/api.rb', line 4

def context
  @native.JS[:context]
end