class Fastlane::Actions::Colors

Attributes

background[RW]
text[RW]

Public Instance Methods

merge(other) click to toggle source
# File lib/fastlane/plugin/framer/actions/framer_action.rb, line 21
def merge(other)
  unless other.text.nil? || other.text.empty?
    self.text = other.text
  end
  unless other.background.nil? || other.background.empty?
    self.background = other.background
  end
end
to_s() click to toggle source
# File lib/fastlane/plugin/framer/actions/framer_action.rb, line 30
def to_s
  "{ text: #{self.text}, background: #{self.background} }"
end