Sha256: 7df8ec7c9e004878d8b4e819dce8dc60247e5dceae12bc4f09f19c5852fd77ef
Contents?: true
Size: 194 Bytes
Versions: 1
Compression:
Stored size: 194 Bytes
Contents
module GitFonky class Branch attr_reader :name def initialize(name) @name = name end def valid?(pattern = /(main|master)/) name.match?(pattern) end end end
Version data entries
1 entries across 1 versions & 1 rubygems
Version | Path |
---|---|
git_fonky-0.6.0 | lib/git_fonky/branch.rb |