Class: Tailwindcss::ArbitraryValue
- Inherits:
-
Object
- Object
- Tailwindcss::ArbitraryValue
- Defined in:
- lib/tailwindcss/arbitrary_value.rb
Instance Method Summary collapse
-
#initialize(value) ⇒ ArbitraryValue
constructor
A new instance of ArbitraryValue.
- #inspect ⇒ Object
- #to_s ⇒ Object
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
#inspect ⇒ Object
11 12 13 |
# File 'lib/tailwindcss/arbitrary_value.rb', line 11 def inspect to_s end |
#to_s ⇒ Object
7 8 9 |
# File 'lib/tailwindcss/arbitrary_value.rb', line 7 def to_s "[#{@value}]" end |