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)


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

def evaluated?
  true
end

#to_sObject



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

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