Class: L10nizer::EvalNode

Inherits:
BasicNode show all
Defined in:
lib/l10nizer/node.rb

Instance Method Summary collapse

Methods inherited from BasicNode

#initialize, #l10n, #string?

Constructor Details

This class inherits a constructor from L10nizer::BasicNode

Instance Method Details

#evaluated?Boolean

Returns:

  • (Boolean)


98
99
100
# File 'lib/l10nizer/node.rb', line 98

def evaluated?
  true
end

#to_sObject



94
95
96
# File 'lib/l10nizer/node.rb', line 94

def to_s
  super[/\A<%=\s*(.*?)\s*%>\Z/, 1]
end