Skip to content

Commit 709fb6a

Browse files
committed
Remove unnecessary method
1 parent 97c0941 commit 709fb6a

File tree

1 file changed

+0
-4
lines changed

1 file changed

+0
-4
lines changed

lib/csscss/types.rb

Lines changed: 0 additions & 4 deletions
Original file line numberDiff line numberDiff line change
@@ -1,9 +1,5 @@
11
module Csscss
22
Declaration = Struct.new(:property, :value, :parents) do
3-
def self.from_csspool(dec)
4-
new(dec.property.to_s.downcase, dec.expressions.join(" ").downcase)
5-
end
6-
73
def self.from_parser(property, value, clean = true)
84
value = value.to_s
95
property = property.to_s

0 commit comments

Comments
 (0)