Top Level Namespace

Defined Under Namespace

Modules: Wunderbar

Constant Summary collapse

W_ =
Wunderbar

Class Method Summary collapse

Class Method Details

._html(*args, &block) ⇒ Object



57
58
59
# File 'lib/wunderbar/environment.rb', line 57

def _html(*args, &block)
  Wunderbar.html(*args, &block)
end

._json(*args, &block) ⇒ Object



65
66
67
# File 'lib/wunderbar/environment.rb', line 65

def _json(*args, &block)
  Wunderbar.json(*args, &block)
end

._text(*args, &block) ⇒ Object



69
70
71
# File 'lib/wunderbar/environment.rb', line 69

def _text(*args, &block)
  Wunderbar.text(*args, &block)
end

._websocket(*args, &block) ⇒ Object



73
74
75
76
# File 'lib/wunderbar/environment.rb', line 73

def _websocket(*args, &block)
  args.last[:sync]=args.last.fetch(:sync,true) if Hash === args.last
  Wunderbar.websocket(*args, &block)
end

._xhtml(*args, &block) ⇒ Object



61
62
63
# File 'lib/wunderbar/environment.rb', line 61

def _xhtml(*args, &block)
  Wunderbar.xhtml(*args, &block)
end

.envObject



78
79
80
# File 'lib/wunderbar/environment.rb', line 78

def env
  ENV
end