Class: Lilac::Directives::Value::BareIdent

Inherits:
Value
  • Object
show all
Defined in:
lib/lilac/directives/value.rb

Overview

Bare identifier referring to a field of the current iteration item. Outside data-each scope (item.nil?), value-binding dispatch silent-skips.

Instance Method Summary collapse

Instance Method Details

#bare_ident?Boolean

Returns:

  • (Boolean)


80
81
82
# File 'lib/lilac/directives/value.rb', line 80

def bare_ident?
  true
end

#fieldObject



76
77
78
# File 'lib/lilac/directives/value.rb', line 76

def field
  @raw
end