module TokyoMetro::Modules::Static::GetBackgroundColorInfo::Base

背景色の基本的な情報を取得するメソッドを提供するモジュール

Public Instance Methods

bg_web_color() click to toggle source

背景の WebColor を返すメソッド @return [String]

# File lib/tokyo_metro/modules/static/get_background_color_info/base.rb, line 6
def bg_web_color
  @bgcolor.web_color
end
to_s_rgb_bg_color_in_parentheses() click to toggle source

背景の Red, Green, Blue の各成分の情報を括弧で囲んだ文字列にして返すメソッド @return [String]

# File lib/tokyo_metro/modules/static/get_background_color_info/base.rb, line 12
def to_s_rgb_bg_color_in_parentheses
  @bgcolor.to_s_rgb_color_in_parentheses
end