Move RuleSet::Patern to top-level Rule class

This commit is contained in:
josh committed 2022-06-04 17:50:26 -04:00
1 parent 7598c589fe
commit 34eb1370ff
5 files changed
+44 -40

No files matched your search

+19
View File
@@ -0,0 +1,19 @@
class Propane
class Rule
attr_reader :name
attr_reader :components
attr_reader :code
def initialize(name, components, code)
@name = name
@components = components
@code = code
end
end
end