Class: ProMotion::Screen

Inherits:
Object show all
Defined in:
lib/project/ruby_motion_query/ext.rb

Instance Method Summary collapse

Instance Method Details

#append(view_or_constant, style = nil, opts = {}) ⇒ Object



62
63
64
# File 'lib/project/ruby_motion_query/ext.rb', line 62

def append(view_or_constant, style=nil, opts = {})
  rmq(view).append(view_or_constant, style, opts)
end

#append!(view_or_constant, style = nil, opts = {}) ⇒ Object



65
66
67
# File 'lib/project/ruby_motion_query/ext.rb', line 65

def append!(view_or_constant, style=nil, opts = {})
  rmq(view).append!(view_or_constant, style, opts)
end

#build(view, style = nil, opts = {}) ⇒ Object



83
84
85
# File 'lib/project/ruby_motion_query/ext.rb', line 83

def build(view, style = nil, opts = {})
  rmq(view).build(view, style, opts)
end

#build!(view, style = nil, opts = {}) ⇒ Object



86
87
88
# File 'lib/project/ruby_motion_query/ext.rb', line 86

def build!(view, style = nil, opts = {})
  rmq(view).build!(view, style, opts)
end

#create(view_or_constant, style = nil, opts = {}) ⇒ Object



76
77
78
# File 'lib/project/ruby_motion_query/ext.rb', line 76

def create(view_or_constant, style=nil, opts = {})
  rmq(view).create(view_or_constant, style, opts)
end

#create!(view_or_constant, style = nil, opts = {}) ⇒ Object



79
80
81
# File 'lib/project/ruby_motion_query/ext.rb', line 79

def create!(view_or_constant, style=nil, opts = {})
  rmq(view).create!(view_or_constant, style, opts)
end

#prepend(view_or_constant, style = nil, opts = {}) ⇒ Object



69
70
71
# File 'lib/project/ruby_motion_query/ext.rb', line 69

def prepend(view_or_constant, style=nil, opts = {})
  rmq(view).prepend(view_or_constant, style, opts)
end

#prepend!(view_or_constant, style = nil, opts = {}) ⇒ Object



72
73
74
# File 'lib/project/ruby_motion_query/ext.rb', line 72

def prepend!(view_or_constant, style=nil, opts = {})
  rmq(view).prepend!(view_or_constant, style, opts)
end

#reapply_styles ⇒ Object



90
91
92
# File 'lib/project/ruby_motion_query/ext.rb', line 90

def reapply_styles
  rmq.all.reapply_styles
end