Class: CSSPool::LibCroco::CRParsingLocation
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- CSSPool::LibCroco::CRParsingLocation
- Defined in:
- lib/csspool/lib_croco/cr_parsing_location.rb
Instance Method Summary collapse
Instance Method Details
#to_h ⇒ Object
10 11 12 13 14 |
# File 'lib/csspool/lib_croco/cr_parsing_location.rb', line 10 def to_h Hash[*[:line, :column, :byte_offset].map { |k| [k, self[k]] }.flatten] end |