Class: Crawdad::Tokens::Penalty
- Inherits:
-
FFI::Struct
- Object
- FFI::Struct
- Crawdad::Tokens::Penalty
- Defined in:
- lib/crawdad/ffi/tokens.rb
Instance Method Summary collapse
Instance Method Details
#inspect ⇒ Object
60 61 62 63 |
# File 'lib/crawdad/ffi/tokens.rb', line 60 def inspect "(penalty %.2f %.2f#{" F" if self[:flagged] == 1})" % [self[:penalty], self[:width]] end |