class Ayadn::PreferencesFormatsTable

Attributes

borders[RW]
width[RW]

Public Class Methods

new(hash) click to toggle source
# File lib/ayadn/preferences_object.rb, line 16
def initialize hash
  @width = hash[:width]
  @borders = hash[:borders]
end

Public Instance Methods

to_h() click to toggle source
# File lib/ayadn/preferences_object.rb, line 20
def to_h
  {
    width: @width,
    borders: @borders
  }
end