Module: Bewildr::BewildrHelpers

Included in:
Finder
Defined in:
lib/bewildr/bewildr_helpers.rb

Overview

:nodoc: all

Instance Method Summary collapse

Instance Method Details

#r_array_to_cs_array_of_conditions(args) ⇒ Object



9
10
11
# File 'lib/bewildr/bewildr_helpers.rb', line 9

def r_array_to_cs_array_of_conditions(args)
  System::Array[System::Windows::Automation::Condition].new(args)
end

#r_array_to_cs_array_of_strings(args) ⇒ Object



5
6
7
# File 'lib/bewildr/bewildr_helpers.rb', line 5

def r_array_to_cs_array_of_strings(args)
  System::Array[System::String].new(args.map {|arg| arg.to_s.to_clr_string})
end

#r_string_to_c_string(r_string) ⇒ Object



13
14
15
# File 'lib/bewildr/bewildr_helpers.rb', line 13

def r_string_to_c_string(r_string)
  System::String.new(r_string)
end