Module: Syskit::Actions::Profile::Tag

Defined in:
lib/syskit/actions/profile.rb

Overview

Instance-level API for tags

Instance Method Summary collapse

Instance Method Details

#can_merge?(other) ⇒ Boolean

Returns:

  • (Boolean)


73
74
75
76
77
78
79
# File 'lib/syskit/actions/profile.rb', line 73

def can_merge?(other)
    return false unless super

    other.kind_of?(Tag) &&
        other.model.tag_name == model.tag_name &&
        other.model.profile == model.profile
end