-
See this gist for the same error under both rubinius and mri 1.9.2:
https://gist.github.com/1079682
Here is my use-case. I send hashes over the network to communicate amongst distributed processes. …
-
1. rename OSC::Machete::TorqueHelper to OSC::Machete::TorqueAdapter
2. add OSC::Machete::TorqueAdapter#default_host which can return nil
3. subclass OSC::Machete::TorqueAdapter with OSC::Machete::OSCT…
-
## Feature request
Allow components to have unnamed keyword arguments when using `with_collection`
### Motivation
This would allow using generic initialize methods with unnamed parameters and…
-
I wish there was a direct way to send an array or hash to a HTML file, something like var.send_toHtml(filename), where the hash would readily be a reference (hidden, I guess).
Like automatic json for…
-
This follows on from #432.
If either `stubbing_non_existent_method` or `stubbing_non_public_method` configuration options are set to `:warn` or `:prevent` (i.e. not the default value of `:allow`) a…
-
Hello. :wave: I'm seeing performance warnings show up when using YARD in Ruby 3.3.0 due to heavy use of `OpenStruct` which the Ruby core team no longer recommends being used.
## Steps to reproduce
…
-
Say you have:
@return [Hash]
...and you want to document the keys within. I can't find in the docs anywhere that states how to do this. I've tried several different variations of @options whatever …
-
Why would we ever define `Dry::Struct#to_hash` method? Its purposed for implicit coercions like in the following example. We should define `#to_h` only, I guess.
Example:
```
[1] pry(main)> Hue…
sevos updated
5 years ago
-
Encountered after upgrading to minitest 5.6.0.
The following NameError occurs because a method argument is being replaced by an instance of Minitest::Expectation.
```
1) Error:
InvoicePDFTest#test…
ammar updated
7 years ago
-
I'm sure i'm missing something, but why can't you just use a simple recursive function to convert a nested hash to nested open structs?
e.g
```ruby
def convert_to_object(arg)
return arg unless…