Module: HtmlTags::BaseModule

Defined in:
lib/html_tags/base/base_module.rb

Overview

HtmlTags::BaseModule

Class Method Summary collapse

Instance Method Summary collapse

Class Method Details

.is_on_roebe?Boolean

#

HtmlTags::BaseModule.is_on_roebe?

#

Returns:

  • (Boolean)


35
36
37
# File 'lib/html_tags/base/base_module.rb', line 35

def self.is_on_roebe?
  ENV['IS_ROEBE'].to_s == '1'
end

Instance Method Details

#a(i = '', css_class = '', the_id = '', css_style = '', javascript = '', &block) ⇒ Object

#

a (a tag)

#


223
224
225
226
227
228
229
230
231
232
233
234
# File 'lib/html_tags/base/base_module.rb', line 223

def a(
    i          = '',
    css_class  = '',
    the_id     = '',
    css_style  = '',
    javascript = '',
    &block
  )
  HtmlTags.a(
    i, css_class, the_id, css_style, javascript, &block
  )
end

#brObject

#

br

#


254
255
256
# File 'lib/html_tags/base/base_module.rb', line 254

def br
  HtmlTags.br
end

#div(i = '', css_class = '', the_id = '', css_style = '', &block) ⇒ Object

#

div

This method can be used to create the html <div> tag.

#


210
211
212
213
214
215
216
217
218
# File 'lib/html_tags/base/base_module.rb', line 210

def div(
    i         = '',
    css_class = '',
    the_id    = '',
    css_style = '',
    &block
  )
  HtmlTags.div(i, css_class, the_id, css_style, &block)
end

#form(i = '', css_class = '', the_id = '', css_style = '', &block) ⇒ Object

#

form (form tag)

#


239
240
241
242
243
244
245
246
247
248
249
# File 'lib/html_tags/base/base_module.rb', line 239

def form(
    i          = '',
    css_class  = '',
    the_id     = '',
    css_style  = '',
    &block
  )
  HtmlTags.form(
    i, css_class, the_id, css_style, &block
  )
end

#h1(i = '', css_class = '', the_id = '', css_style = '', javascript_code = '', &block) ⇒ Object

#

h1

#


75
76
77
78
79
80
81
82
83
84
85
86
87
88
# File 'lib/html_tags/base/base_module.rb', line 75

def h1(
    i = '',
    css_class = '',
    the_id = '', css_style = '', javascript_code = '', &block
  )
  HtmlTags.h1(
    i,
    css_class,
    the_id,
    css_style,
    javascript_code,
    &block
  )
end

#h2(i = '', css_class = '', the_id = '', css_style = '', javascript_code = '', &block) ⇒ Object

#

h2

#


93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
# File 'lib/html_tags/base/base_module.rb', line 93

def h2(
    i               = '',
    css_class       = '',
    the_id          = '',
    css_style       = '',
    javascript_code = '',
    &block
  )
  HtmlTags.h2(
    i,
    css_class,
    the_id,
    css_style,
    javascript_code,
    &block
  )
end

#h3(i = '', css_class = '', the_id = '', css_style = '', javascript_code = '', &block) ⇒ Object

#

h3

#


114
115
116
117
118
119
120
121
122
123
124
125
# File 'lib/html_tags/base/base_module.rb', line 114

def h3(
    i               = '',
    css_class       = '',
    the_id          = '',
    css_style       = '',
    javascript_code = '',
    &block
  )
  HtmlTags.h3(
    i, css_class, the_id, css_style, javascript_code, &block
  )
end

#h4(i = '', css_class = '', the_id = '', css_style = '', javascript_code = '', &block) ⇒ Object

#

h4

#


130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
# File 'lib/html_tags/base/base_module.rb', line 130

def h4(
    i               = '',
    css_class       = '',
    the_id          = '',
    css_style       = '',
    javascript_code = '',
    &block
  )
  HtmlTags.h4(
    i,
    css_class,
    the_id,
    css_style,
    javascript_code,
    &block
  )
end

#h5(i = '', css_class = '', the_id = '', css_style = '', javascript_code = '', &block) ⇒ Object

#

h5

#


151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
# File 'lib/html_tags/base/base_module.rb', line 151

def h5(
    i               = '',
    css_class       = '',
    the_id          = '',
    css_style       = '',
    javascript_code = '',
    &block
  )
  HtmlTags.h5(
    i,
    css_class,
    the_id,
    css_style,
    javascript_code,
    &block
  )
end

#h6(i = '', css_class = '', the_id = '', css_style = '', javascript_code = '', &block) ⇒ Object

#

h6

#


172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
# File 'lib/html_tags/base/base_module.rb', line 172

def h6(
    i               = '',
    css_class       = '',
    the_id          = '',
    css_style       = '',
    javascript_code = '',
    &block
  )
  HtmlTags.h6(
    i,
    css_class,
    the_id,
    css_style,
    javascript_code,
    &block
  )
end

#html(i = '', css_class = '', the_id = '', css_style = '', &block) ⇒ Object

#

html

#


261
262
263
264
265
266
267
268
269
# File 'lib/html_tags/base/base_module.rb', line 261

def html(
    i               = '',
    css_class       = '',
    the_id          = '',
    css_style       = '',
    &block
  )
  HtmlTags.html(i, css_class, the_id, css_style, &block)
end

#li(i = '', optional_css_class = '', optional_id = '', optional_css_style = '', &block) ⇒ Object

#

li (li tag)

#


53
54
55
56
57
58
59
# File 'lib/html_tags/base/base_module.rb', line 53

def li(
    i = '', optional_css_class = '', optional_id = '', optional_css_style = '', &block
  )
  HtmlTags.li(
    i, optional_css_class, optional_id, optional_css_style, &block
  )
end

#ol(i = '', optional_css_class = '', optional_id = '', optional_css_style = '', &block) ⇒ Object

#

ol (ol tag)

#


64
65
66
67
68
69
70
# File 'lib/html_tags/base/base_module.rb', line 64

def ol(
    i = '', optional_css_class = '', optional_id = '', optional_css_style = '', &block
  )
  HtmlTags.ol(
    i, optional_css_class, optional_id, optional_css_style, &block
  )
end

#p(i = '', css_class = '', the_id = '', css_style = '', &block) ⇒ Object

#

p

This method can be used to create the html <p> tag.

#


195
196
197
198
199
200
201
202
203
# File 'lib/html_tags/base/base_module.rb', line 195

def p(
    i         = '',
    css_class = '',
    the_id    = '',
    css_style = '',
    &block
  )
  HtmlTags.p(i, css_class, the_id, css_style, &block)
end

#pre(i = '', css_class = '', the_id = '', css_style = '', &block) ⇒ Object

#

pre

#


42
43
44
45
46
47
48
# File 'lib/html_tags/base/base_module.rb', line 42

def pre(
    i = '', css_class = '', the_id = '', css_style = '', &block
  )
  HtmlTags.pre(
    i, css_class, the_id, css_style, &block
  )
end