Class: Klenod::Build::Plugins::CSSPlugin::Pos

Inherits:
Data
  • Object
show all
Defined in:
lib/klenod/plugin/css/transformer.rb

Instance Attribute Summary collapse

Class Method Summary collapse

Instance Attribute Details

#columnObject (readonly)

Returns the value of attribute column

Returns:

  • (Object)

    the current value of column



35
36
37
# File 'lib/klenod/plugin/css/transformer.rb', line 35

def column
  @column
end

#lineObject (readonly)

Returns the value of attribute line

Returns:

  • (Object)

    the current value of line



35
36
37
# File 'lib/klenod/plugin/css/transformer.rb', line 35

def line
  @line
end

Class Method Details

.from_ext(data) ⇒ Object



36
37
# File 'lib/klenod/plugin/css/transformer.rb', line 36

def self.from_ext(data) =
new(data.fetch("line"), data.fetch("column"))