Sha256: 2180969fa7d8d7bdd1bd889cab9da5308347ee77fffc20083456919fcc549a6f

Contents?: true

Size: 479 Bytes

Versions: 1

Compression:

Stored size: 479 Bytes

Contents

module Rubyoverflow
  class Styling
    attr_reader :link_color, :tag_foreground_color ,:tag_background_color
    
    def initialize(hash)
      dash = StylingDash.new hash
      @link_color = dash.link_color
      @tag_background_color = dash.tag_background_color
      @tag_foreground_color = dash.tag_foreground_color
    end
    
  end
  
  class StylingDash < BaseDash
    property :link_color
    property :tag_foreground_color
    property :tag_background_color
  end
end

Version data entries

1 entries across 1 versions & 1 rubygems

Version Path
rubyoverflow-1.0.2 lib/rubyoverflow/styling.rb