kliuless

Results 4 comments of kliuless
trafficstars

@aviflax This may be helpful: ```ruby some_contract = Or[ ArrayOf[String], ArrayOf[Integer] ] unless Contract.valid?(some_value, some_contract) # logs "((a collection Array of String) or (a collection Array of Integer))" logger.warn Contracts::Formatters::Expected.new(...

I think the explicit `include` is acceptable. Remember also to test when `module_function` is used with method names. Sidenote: I did some testing on `module_function` and it's actually an instance...

I think Reader#outer_xml is a workaround for expand(), but it's probably not as efficient to have to re-parse the string into a doc (after the reader already parsed it to...

@edk I've rewritten the gem to support only MiniRacer: [commonjs-mini_racer_env](https://github.com/tribune/commonjs-mini_racer_env). I renamed it because it drops generic runtime support. If you want to see an example of how to interface...