Class: Tailwindcss::ArbitraryValue

Inherits:
Object
  • Object
show all
Defined in:
lib/tailwindcss/arbitrary_value.rb

Instance Method Summary collapse

Constructor Details

#initialize(value) ⇒ ArbitraryValue

Returns a new instance of ArbitraryValue.



3
4
5
# File 'lib/tailwindcss/arbitrary_value.rb', line 3

def initialize(value)
  @value = value
end

Instance Method Details

#inspectObject



11
12
13
# File 'lib/tailwindcss/arbitrary_value.rb', line 11

def inspect
  to_s
end

#to_sObject



7
8
9
# File 'lib/tailwindcss/arbitrary_value.rb', line 7

def to_s
  "[#{@value}]"
end