Class: L10nizer::BasicNode
- Inherits:
-
Object
- Object
- L10nizer::BasicNode
show all
- Defined in:
- lib/l10nizer/node.rb
Instance Method Summary
collapse
Constructor Details
#initialize(node, keygen = nil) ⇒ BasicNode
Returns a new instance of BasicNode.
18
19
20
21
|
# File 'lib/l10nizer/node.rb', line 18
def initialize(node, keygen=nil)
@node = node
@keygen = keygen
end
|
Instance Method Details
#evaluated? ⇒ Boolean
31
32
33
|
# File 'lib/l10nizer/node.rb', line 31
def evaluated?
false
end
|
#l10n ⇒ Object
23
24
25
|
# File 'lib/l10nizer/node.rb', line 23
def l10n
{}
end
|
#string? ⇒ Boolean
35
36
37
|
# File 'lib/l10nizer/node.rb', line 35
def string?
false
end
|
#to_s ⇒ Object
27
28
29
|
# File 'lib/l10nizer/node.rb', line 27
def to_s
@node.text_value
end
|